/**
 * Created by admin on 2016/5/22.
 */
var React = require('react-native');
var {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    Image
    }=React;
var Home = React.createClass({
    render:function(){
        return (
            <View style={styles.container}>
                <Text style={styles.welcome}>
                    Welcome Cyc HelloWorld
                </Text>
                <Text style={styles.instructions}>
                    To get started, edit index.android.js
                </Text>
                <Text style={styles.instructions}>
                    Shake or press menu button for dev menu
                </Text>
                <Image source={{uri: 'https://facebook.github.io/react/img/logo_og.png'}}
                       style={{width: 40, height: 40}} />
            </View>

        );
    }
});
var styles = StyleSheet.create({
    container: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#F5FCFF',
    },
    welcome: {
        fontSize: 20,
        textAlign: 'center',
        margin: 10,
    },
    instructions: {
        textAlign: 'center',
        color: '#333333',
        marginBottom: 5,
    },
});
module.exports = Home ;